package edu.hwadee.entity;

import java.util.Date;

/**
 * Carplan entity. @author MyEclipse Persistence Tools
 */

public class Carplan implements java.io.Serializable {

	// Fields

	private Integer carplanId;
	private Car car;
	private Staff staff;
	private Date makeDate;
	private Date startDate;
	private Short planCycle;
	private Float planValue;
	private Boolean planType;
	private String planName;
	private Float facts;
	private Boolean isExcess;

	// Constructors

	/** default constructor */
	public Carplan() {
	}

	/** full constructor */
	public Carplan(Car car, Staff staff, Date makeDate, Date startDate, Short planCycle, Float planValue,
			Boolean planType, String planName, Float facts, Boolean isExcess) {
		this.car = car;
		this.staff = staff;
		this.makeDate = makeDate;
		this.startDate = startDate;
		this.planCycle = planCycle;
		this.planValue = planValue;
		this.planType = planType;
		this.planName = planName;
		this.facts = facts;
		this.isExcess = isExcess;
	}

	// Property accessors

	public Integer getCarplanId() {
		return this.carplanId;
	}

	public void setCarplanId(Integer carplanId) {
		this.carplanId = carplanId;
	}

	public Car getCar() {
		return this.car;
	}

	public void setCar(Car car) {
		this.car = car;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Date getMakeDate() {
		return this.makeDate;
	}

	public void setMakeDate(Date makeDate) {
		this.makeDate = makeDate;
	}

	public Date getStartDate() {
		return this.startDate;
	}

	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}

	public Short getPlanCycle() {
		return this.planCycle;
	}

	public void setPlanCycle(Short planCycle) {
		this.planCycle = planCycle;
	}

	public Float getPlanValue() {
		return this.planValue;
	}

	public void setPlanValue(Float planValue) {
		this.planValue = planValue;
	}

	public Boolean getPlanType() {
		return this.planType;
	}

	public void setPlanType(Boolean planType) {
		this.planType = planType;
	}

	public String getPlanName() {
		return this.planName;
	}

	public void setPlanName(String planName) {
		this.planName = planName;
	}

	public Float getFacts() {
		return this.facts;
	}

	public void setFacts(Float facts) {
		this.facts = facts;
	}

	public Boolean getIsExcess() {
		return this.isExcess;
	}

	public void setIsExcess(Boolean isExcess) {
		this.isExcess = isExcess;
	}

}